{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/UserProfile/index.tsx\";\nimport React from \"react\";\nimport './UserProfile.scss';\nimport { Avatar } from \"../index\";\nimport { getUserName } from \"../../utils/User\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst UserProfile = props => {\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    children: /*#__PURE__*/_jsxDEV(Avatar, {\n      contentList: message.user.content,\n      alt: getUserName(message.user),\n      stringForFirstCharacter: getUserName(message.user),\n      stringForGenerateColor: message.user.id\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 11,\n      columnNumber: 13\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 10,\n    columnNumber: 9\n  }, this);\n};\n_c = UserProfile;\nexport default UserProfile;\nvar _c;\n$RefreshReg$(_c, \"UserProfile\");","map":{"version":3,"names":["React","Avatar","getUserName","UserProfile","props","message","user","content","id"],"sources":["/data/messenger.client/src/components/UserProfile/index.tsx"],"sourcesContent":["import React from \"react\";\nimport {UserProfileProps} from \"../../models/props/UserProfileProps\";\nimport './UserProfile.scss';\nimport {Avatar} from \"../index\";\nimport {getUserName} from \"../../utils/User\";\n\nconst UserProfile: React.FC<UserProfileProps> = (props) => {\n\n    return (\n        <div>\n            <Avatar\n                contentList={message.user.content}\n                alt={getUserName(message.user)}\n                stringForFirstCharacter={getUserName(message.user)}\n                    stringForGenerateColor={message.user.id}\n            />\n        </div>\n    );\n}\n\nexport default UserProfile;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAO,oBAAoB;AAC3B,SAAQC,MAAM,QAAO,UAAU;AAC/B,SAAQC,WAAW,QAAO,kBAAkB;AAAC;AAE7C,MAAMC,WAAuC,GAAIC,KAAK,IAAK;EAEvD,oBACI;IAAA,uBACI,QAAC,MAAM;MACH,WAAW,EAAEC,OAAO,CAACC,IAAI,CAACC,OAAQ;MAClC,GAAG,EAAEL,WAAW,CAACG,OAAO,CAACC,IAAI,CAAE;MAC/B,uBAAuB,EAAEJ,WAAW,CAACG,OAAO,CAACC,IAAI,CAAE;MAC/C,sBAAsB,EAAED,OAAO,CAACC,IAAI,CAACE;IAAG;MAAA;MAAA;MAAA;IAAA;EAC9C;IAAA;IAAA;IAAA;EAAA,QACA;AAEd,CAAC;AAAA,KAZKL,WAAuC;AAc7C,eAAeA,WAAW;AAAC;AAAA"},"metadata":{},"sourceType":"module"}